function baseAlert(text){
	swal({
		title:'温馨提示',
		text:text,
		confirmButtonText:'确认',
		confirmButtonColor:'blue'
	});
		
}
function baseConfirm(text,funs){
	swal({
		text:text,
		type:'warning',
		showCancelButton:true,
		cancelButtonColor:'gray',
		cancelButtonText:'取消',
		confirmButtonColor:'#f8bb86',
		confirmButtonText:'确认',
		reverseButtons:true//控制按钮反转(返回值)
	}).then(function(r){
		if(r){
			funs();
		}
	});
}

var myFun = function(newFun){
	newFun();
}










